year =2000
if year % 100==0:
    if year %400==0:
        print ("year 是闰年")
    else:
        print ("year 是平年")
else:
    if year %4==0:
        print ("year 是闰年")
    else:
        print ("year 是平年")    